<div id="global-signup-modal" class="authentication-modal hidden">
  <div class="authentication-modal__container">
    <figure class="authentication-modal__image-container">
      <img class="authentication-modal__image" src="<%= optimized_image_url(Settings::General.logo_png, width: 190) %>"
        alt="<%= community_name %>" loading="lazy" />
    </figure>
    <div class="authentication-modal__content">
      <p class="authentication-modal__description">
        <% if Settings::Community.tagline.present? %>
          <%= Settings::Community.tagline %>
        <% end %>
      </p>
    </div>
    <div class="authentication-modal__actions">
      <a href="<%= subforem_aware_sign_up_url(sign_up_path(signup_subforem: RequestStore.store[:subforem_id])) %>" class="crayons-btn" aria-label="<%= t("views.main.modal.login.aria_label") %>" data-no-instant>
        <%= t("views.main.modal.login.text") %>
      </a>
      <a href="<%= subforem_aware_sign_up_url(sign_up_path(state: "new-user", signup_subforem: RequestStore.store[:subforem_id])) %>" class="crayons-btn crayons-btn--ghost-brand js-global-signup-modal__create-account" aria-label="<%= t("views.main.modal.create_account.aria_label") %>" data-no-instant>
        <%= t("views.main.modal.create_account.text") %>
      </a>
    </div>
  </div>
</div>

<%= javascript_include_tag "signupModalShortcuts", defer: true %>
